mirror of
https://github.com/PR0M3TH3AN/The-Eternal-Word.git
synced 2025-09-08 07:19:08 +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
|
name: deploy-to-skynet
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -15,9 +13,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Deploy to Skynet
|
- name: Deploy to Skynet
|
||||||
uses: skynetlabs/deploy-to-skynet-action@v2
|
uses: skynetlabs/deploy-to-skynet-action@main
|
||||||
|
|
||||||
with:
|
with:
|
||||||
upload-dir: src
|
upload-dir: src
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
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