name: Revert on: # manual trigger workflow_dispatch: jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ./.github/actions/setup - run: yarn prepare - run: yarn build - name: Setup node@16 (required by Cloudflare Pages) uses: actions/setup-node@v3 with: node-version: 16 - name: Update Cloudflare Pages deployment uses: cloudflare/pages-action@364c7ca09a4b57837c5967871d64a2c31adb8c0d with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} directory: build githubToken: ${{ secrets.GITHUB_TOKEN }}