diff --git a/.github/workflows/deploy-to-skynet.yml b/.github/workflows/deploy-to-skynet.yml index da8a9a32..b6498e73 100644 --- a/.github/workflows/deploy-to-skynet.yml +++ b/.github/workflows/deploy-to-skynet.yml @@ -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 || '' }}