diff options
| author | Fuwn <[email protected]> | 2022-03-20 01:28:42 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-20 01:28:42 -0700 |
| commit | 03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53 (patch) | |
| tree | 568e508aff6db6325719abcb2c601520264c5de4 /.github/workflows/deploy.yml | |
| download | graphql-api-03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53.tar.xz graphql-api-03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53.zip | |
feat: 0.1.0 :star:
Diffstat (limited to '.github/workflows/deploy.yml')
| -rw-r--r-- | .github/workflows/deploy.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..0af9f9d --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,26 @@ +name: 🛫 Deploy to Cloudflare Workers + +on: + push: + branches: + - main + repository_dispatch: + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + name: 🛠 Build & Deploy + steps: + - uses: actions/checkout@v2 + - name: 🍏 Use Node.js + uses: actions/setup-node@v1 + with: + node-version: "12.x" + + - run: npm install + - name: 📨 Publish + uses: cloudflare/[email protected] + with: + apiToken: ${{ secrets.CF_API_TOKEN }} + env: + CF_ACCOUNT_ID: ${{secrets.CF_ACCOUNT_ID}} |