forked from CCCHH/hacker.tours-website
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c9cbe81aa | |||
| 061a74c1c1 | |||
| e2ec544131 | |||
| c3e4d3c9cf | |||
|
790fbdd5ca |
|||
|
2927606116 |
4 changed files with 5 additions and 7 deletions
|
|
@ -20,4 +20,4 @@ jobs:
|
||||||
echo "${{ secrets.SSH_KNOWN_HOSTS_FILE }}" > ./known_hosts
|
echo "${{ secrets.SSH_KNOWN_HOSTS_FILE }}" > ./known_hosts
|
||||||
- name: Staging Deployment - Remove PR from staging
|
- name: Staging Deployment - Remove PR from staging
|
||||||
run: |
|
run: |
|
||||||
ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts' hackertours-website-deploy@public-web-static-intern.hamburg.ccc.de -t "rm -r /var/www/staging.hamburg.ccc.de/pr${{ github.event.pull_request.number }}/"
|
ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts' hackertours-website-deploy@public-web-static-intern.hamburg.ccc.de -t "rm -r /var/www/staging.hacker.tours/pr${{ github.event.pull_request.number }}/"
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
- name: Deploy - Upload PR to staging
|
- name: Deploy - Upload PR to staging
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
echo "Deploying to staging.hamburg.ccc.de/pr${{ github.event.pull_request.number }}"
|
echo "Deploying to staging.hacker.tours/pr${{ github.event.pull_request.number }}"
|
||||||
rsync -v -r --delete -e "ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts'" public/ hackertours-website-deploy@public-web-static-intern.hamburg.ccc.de:/var/www/staging.hacker.tours/pr${{ github.event.pull_request.number }}/
|
rsync -v -r --delete -e "ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts'" public/ hackertours-website-deploy@public-web-static-intern.hamburg.ccc.de:/var/www/staging.hacker.tours/pr${{ github.event.pull_request.number }}/
|
||||||
- name: Deploy - Add comment to PR with staging URL
|
- name: Deploy - Add comment to PR with staging URL
|
||||||
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
${{ github.event.pull_request.base.repo.url }}/issues/${{ github.event.pull_request.number }}/comments \
|
${{ github.event.pull_request.base.repo.url }}/issues/${{ github.event.pull_request.number }}/comments \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: token $GITHUB_TOKEN" \
|
-H "Authorization: token $GITHUB_TOKEN" \
|
||||||
--data '{ "body": "You can view your changes at https://staging.hamburg.ccc.de/pr${{ github.event.pull_request.number }}/" }'
|
--data '{ "body": "You can view your changes at https://staging.hacker.tours/pr${{ github.event.pull_request.number }}/" }'
|
||||||
|
|
||||||
- name: Deploy - Upload to prod
|
- name: Deploy - Upload to prod
|
||||||
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main'
|
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main'
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,7 @@ events:
|
||||||
event: 40. Chaos Communication Congress
|
event: 40. Chaos Communication Congress
|
||||||
date: 27.–30. Dezember 2026
|
date: 27.–30. Dezember 2026
|
||||||
location: Hamburg Messe
|
location: Hamburg Messe
|
||||||
url: https://events.ccc.de/congress/2026/
|
url: https://hackertours.hamburg.ccc.de/de/40c3/
|
||||||
status: In Vorbereitung
|
|
||||||
- code: EH23
|
- code: EH23
|
||||||
title: The Bunny is a Lie
|
title: The Bunny is a Lie
|
||||||
event: Easterhegg 2026
|
event: Easterhegg 2026
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,7 @@ events:
|
||||||
event: 40th Chaos Communication Congress
|
event: 40th Chaos Communication Congress
|
||||||
date: 27–30 December 2026
|
date: 27–30 December 2026
|
||||||
location: Hamburg Messe
|
location: Hamburg Messe
|
||||||
url: https://events.ccc.de/congress/2026/
|
url: https://hackertours.hamburg.ccc.de/de/40c3/
|
||||||
status: In preparation
|
|
||||||
- code: EH23
|
- code: EH23
|
||||||
title: The Bunny is a Lie
|
title: The Bunny is a Lie
|
||||||
event: Easterhegg 2026
|
event: Easterhegg 2026
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue