We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11f2dc commit 4f441c0Copy full SHA for 4f441c0
.github/workflows/hugo.yaml
@@ -111,12 +111,7 @@ jobs:
111
deploy-preview:
112
runs-on: ubuntu-22.04
113
needs: build
114
- # Set environment variables
115
- env:
116
- domain: openrailassociation.org
117
- preview_subdomain: web-preview
118
- preview_segment: pr-${{ github.event.number }}
119
- # Only deploy if on main branch
+ # Only deploy if pull request
120
if: ${{ github.event.pull_request }}
121
steps:
122
- name: Download artifact
@@ -128,7 +123,7 @@ jobs:
128
123
- name: Copy website to host
129
124
uses: appleboy/scp-action@v0.1.7
130
125
with:
131
- host: ${{ env.domain }}
126
+ host: ${{ env.uberspace_host }}
132
127
username: ${{ env.uberspace_user }}
133
key: ${{ secrets.SSH_KEY }}
134
port: 22
0 commit comments