Created
September 15, 2022 07:05
-
-
Save GerritRiesch94/3969f2fe373fd3e5e746467de590e721 to your computer and use it in GitHub Desktop.
Ci_CD_GithubActions
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
name: Deploy | |
on: | |
push: | |
branches: | |
- main #1 | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy | |
steps: | |
- uses: actions/checkout@v2 #2 | |
- run: npm install #3 | |
- name: Publish #4 | |
uses: cloudflare/wrangler-action@2.0.0 #5 | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} #6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment