Apply Version Updates From Current Changes (#548) #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2019-2022 Tauri Programme within The Commons Conservancy | |
# SPDX-License-Identifier: Apache-2.0 | |
# SPDX-License-Identifier: MIT | |
name: deploy .{sh,ps1} scripts worker | |
on: | |
push: | |
branches: | |
- dev | |
paths: | |
- '.github/workflows/deploy-scripts.yml' | |
- 'packages/worker/**' | |
jobs: | |
deploy: | |
# prevents this action from running on forks | |
if: github.repository_owner == 'tauri-apps' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cloudflare/[email protected] | |
with: | |
command: publish | |
workingDirectory: 'packages/worker' | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
accountId: ${{ secrets.CF_ACCOUNT_ID }} |