Update deploy-to-skynet.yml

This commit is contained in:
thePR0M3TH3AN
2021-11-06 10:54:01 -04:00
parent cd5f15eef4
commit 1af7a8dac1

View File

@@ -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 || '' }}