From cbfd56e5ec850b38f8e6f57b9b2c3bb88a34dae6 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Thu, 25 Jan 2024 23:51:31 +0000 Subject: [PATCH] Add staging workflow --- .github/workflows/publish-staging.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/publish-staging.yml diff --git a/.github/workflows/publish-staging.yml b/.github/workflows/publish-staging.yml new file mode 100644 index 0000000..0671454 --- /dev/null +++ b/.github/workflows/publish-staging.yml @@ -0,0 +1,14 @@ +name: Publish Staging + +workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + name: Deploy + steps: + - uses: actions/checkout@master + - name: Publish + env: + CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }} + run: npm install -g wrangler && wrangler publish --env staging