Skip to content

Commit 3a9c5b3

Browse files
committed
Maybe ready
1 parent b4cbdc3 commit 3a9c5b3

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,25 @@ jobs:
118118
name: docs_site
119119
path: docs_site
120120
if-no-files-found: error
121-
121+
122122
deploy_docs:
123123
name: Deploy docs to ctf-gameserver.org
124124
runs-on: ubuntu-latest
125+
environment: ctf-gameserver.org
125126
# TODO
126127
if: github.ref == 'refs/heads/wip'
127128
needs:
128-
- lint
129-
- test_pypi
130-
- test_debian
129+
#- lint
130+
#- test_pypi
131+
#- test_debian
132+
- build_docs
131133
steps:
132-
- run: echo "${{ secrets.TEST_SECRET }}" > myfile
133-
- run: cat myfile
134+
- uses: actions/download-artifact@v4
135+
with:
136+
name: docs_site
137+
- run: apt-get --yes update
138+
- run: apt-get --yes install --no-install-recommends openssh-client rsync
139+
- run: mkdir ~/.ssh
140+
- run: echo "${{ vars.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
141+
- run: echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519
142+
- run: rsync -a --delete --delete-delay --delay-updates docs_site/ gameserver-docs-upload@www.faust.cs.fau.de:site/

0 commit comments

Comments
 (0)