From 08d9d3805b3b05861a61e07fa769e1c59d42305a Mon Sep 17 00:00:00 2001 From: "Mountain/\\Ash" Date: Fri, 23 Jun 2023 23:08:48 +0200 Subject: [PATCH] refactor(GH Actions): no install needed to deploy + updated Actions deps --- .github/workflows/deploy.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1970fec..459953d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,17 +10,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Navigate to repo - run: cd $GITHUB_WORKSPACE - - uses: actions/setup-node@v1 - with: - node-version: '10.x' - - name: Install deps - run: npm install + - uses: actions/checkout@v3 - name: Publish - uses: cloudflare/wrangler-action@1.2.0 + uses: cloudflare/wrangler-action@2.0.0 with: apiToken: ${{ secrets.CF_API_TOKEN }} - env: - CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}