Compare commits
4 commits
jj/add-bad
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c73749678b | |||
| e70c83bdb4 | |||
| e063b2fa5c | |||
| c49f2280f4 |
4 changed files with 29 additions and 5 deletions
26
.forgejo/workflows/deploy.yaml
Normal file
26
.forgejo/workflows/deploy.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
REMOTE: ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}
|
||||||
|
PORT: ${{ secrets.SSH_PORT }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Set up SSH keys
|
||||||
|
run: |
|
||||||
|
mkdir -m 700 -p ~/.ssh
|
||||||
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_deploy
|
||||||
|
chmod 600 ~/.ssh/id_deploy
|
||||||
|
|
||||||
|
- name: Pull latest branch to production
|
||||||
|
run: |
|
||||||
|
ssh-keyscan -p $PORT ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||||
|
ssh -i ~/.ssh/id_deploy -p $PORT ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} <<EOF
|
||||||
|
cd ${{ secrets.SSH_DIRECTORY }}
|
||||||
|
git pull
|
||||||
|
EOF
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,2 +0,0 @@
|
||||||
bundle:
|
|
||||||
tar czf ./blisstown-web.tar.gz -C public .
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# 🏕️ bliss.town
|
# 🏕️ bliss.town
|
||||||
|
|
||||||
<a href="https://bliss.town"><img alt="Made with love by Bliss Town" href="https://bliss.town/img/badges/bliss-town.svg"/></a>
|
<a href="https://bliss.town"><img alt="Made with love by Bliss Town" src="https://bliss.town/img/badges/bliss-town.svg"/></a>
|
||||||
<img alt="Trans rights" href="https://bliss.town/img/badges/trans-rights.svg"/>
|
<img alt="Trans rights" src="https://bliss.town/img/badges/trans-rights.svg"/>
|
||||||
|
|
||||||
a cool source for a cool website!
|
a cool source for a cool website!
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
made with <span role="img" aria-label="love">♥</span> by <a href="https://arimelody.space">ari</a>, 2025.
|
made with <span role="img" aria-label="love">♥</span> by bliss town, 2026.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue