ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
at rollback-hacking 37 lines 1.1 kB view raw
1--- 2name: "Pages" 3on: 4 push: 5 branches: 6 - stable 7 - trunk 8 workflow_dispatch: 9jobs: 10 pre-job: 11 continue-on-error: true 12 runs-on: ubuntu-latest 13 outputs: 14 should_skip: ${{ steps.skip_check.outputs.should_skip }} 15 steps: 16 - id: skip_check 17 uses: fkirc/skip-duplicate-actions@v5 18 deploy: 19 runs-on: ubuntu-latest 20 environment: 21 name: production 22 url: https://wire.althaea.zone/ 23 if: github.actor != 'dependabot[bot]' && needs.pre-job.outputs.should_skip != 'true' 24 steps: 25 - uses: actions/checkout@v6 26 - uses: ./.github/actions/setup-nix 27 - run: nix build .#docs 28 if: github.ref == 'refs/heads/stable' 29 - run: nix build .#docs-unstable 30 if: github.ref != 'refs/heads/stable' 31 - name: Deploy to Cloudflare Pages 32 id: deployment 33 uses: cloudflare/wrangler-action@v3 34 with: 35 apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} 36 accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} 37 command: pages deploy ./result/ --project-name wire-docs