mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-12-29 17:04:29 +03:00
add cachix auth config
This commit is contained in:
parent
6a7609c2d0
commit
8c34268b9c
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -16,16 +16,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v18
|
- uses: cachix/install-nix-action@v18
|
||||||
- uses: cachix/cachix-action@v11
|
- uses: cachix/cachix-action@v11
|
||||||
- run: nix build
|
|
||||||
- name: Publish to Cloudflare Pages
|
|
||||||
if: github.event_name == 'push'
|
|
||||||
uses: cloudflare/pages-action@1
|
|
||||||
with:
|
with:
|
||||||
name: noogle
|
name: noogle
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- run: nix build
|
||||||
|
- name: Publish to Cloudflare Pages
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
uses: cloudflare/pages-action@1
|
||||||
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
projectName: ${{ env.cloudflare_project }}
|
projectName: ${{ env.cloudflare_project }}
|
||||||
|
Loading…
Reference in New Issue
Block a user