mirror of
https://github.com/PR0M3TH3AN/The-Eternal-Word.git
synced 2025-09-07 06:48:49 +00:00
Update deploy-to-skynet.yml
This commit is contained in:
8
.github/workflows/deploy-to-skynet.yml
vendored
8
.github/workflows/deploy-to-skynet.yml
vendored
@@ -1,11 +1,9 @@
|
||||
name: deploy-to-skynet
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -15,9 +13,9 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Deploy to Skynet
|
||||
uses: skynetlabs/deploy-to-skynet-action@v2
|
||||
uses: skynetlabs/deploy-to-skynet-action@main
|
||||
|
||||
with:
|
||||
upload-dir: src
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry-seed: ${{ github.event_name == 'push' && github.ref == 'refs/heads/v2' && secrets.REGISTRY_SEED || '' }}
|
||||
registry-seed: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && secrets.REGISTRY_SEED || '' }}
|
||||
|
Reference in New Issue
Block a user