diff options
| author | Christine Dodrill <me@christine.website> | 2021-01-02 18:11:18 -0500 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2021-01-02 18:11:27 -0500 |
| commit | 951542ccf26c1089c24100f0ff1208981979c841 (patch) | |
| tree | eed9186391e8e4f7317a15074ea9e19552aa9b5e /.github/workflows | |
| parent | d63f39319397cc8d804f7642b93dd5c23636b285 (diff) | |
| download | xesite-951542ccf26c1089c24100f0ff1208981979c841.tar.xz xesite-951542ccf26c1089c24100f0ff1208981979c841.zip | |
systemdify this
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/nix.yml | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index aa9bb0d..cbfb540 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -16,24 +16,3 @@ jobs: with: name: xe - run: nix-build --no-out-link - - name: Log into GitHub Container Registry - if: github.ref == 'refs/heads/main' - run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u Xe --password-stdin - - name: Docker push - if: github.ref == 'refs/heads/main' - run: | - nix-build ./docker.nix - docker load -i result - docker tag xena/christinewebsite:latest ghcr.io/xe/site:$GITHUB_SHA - docker push ghcr.io/xe/site - - name: deploy - if: github.ref == 'refs/heads/main' - run: ./scripts/release.sh - env: - DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }} - MI_TOKEN: ${{ secrets.MI_TOKEN }} - PATREON_ACCESS_TOKEN: ${{ secrets.PATREON_ACCESS_TOKEN }} - PATREON_CLIENT_ID: ${{ secrets.PATREON_CLIENT_ID }} - PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }} - PATREON_REFRESH_TOKEN: ${{ secrets.PATREON_REFRESH_TOKEN }} - DHALL_PRELUDE: https://raw.githubusercontent.com/dhall-lang/dhall-lang/v17.0.0/Prelude/package.dhall |
