Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Adds deployment test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix "xq" Queißner committed Feb 23, 2024
1 parent b32995d commit f1b1dc1
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ jobs:
- name: Render website
run: |
zig build
# - name: Deploy preview with SCP
# uses: horochx/[email protected]
# with:
# local: render/*
# remote: 'zeg-pr/${{ github.event.number }}/'
# ensureRemote: true
# user: generic-ci
# host: random-projects.net
# key: ${{ secrets.WEBSITE_PRIVATE_KEY }} #
- name: Deploy
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
ARGS: "-vzrli"
SOURCE: "zig-out/"
REMOTE_HOST: ${{ secrets.DEPLOY_HOST }}
REMOTE_USER: ${{ secrets.DEPLOY_USER }}
REMOTE_PORT: ${{ secrets.DEPLOY_PORT }}
TARGET: "./staging/${{ github.event.number }}"

- uses: mshick/add-pr-comment@v1
with:
Expand Down

0 comments on commit f1b1dc1

Please sign in to comment.