round 2 #318
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Website | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- projects/website/** | |
- projects/common/** | |
- .gitea/workflows/deploy-website.yml | |
- bun.lockb | |
jobs: | |
docker: | |
strategy: | |
matrix: | |
arch: ["ubuntu-latest"] | |
runs-on: ${{ matrix.arch }} | |
# Steps to run | |
steps: | |
# Checkout the repo | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Deploy to Dokku | |
- name: Push to dokku | |
uses: dokku/github-action@master | |
with: | |
git_remote_url: "ssh://[email protected]:22/ssr-website" | |
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | |