Add deployment action

This commit is contained in:
2025-01-29 15:52:46 -08:00
parent 8edd629bfc
commit 4fbf47d26e

View File

@ -0,0 +1,15 @@
name: Deploy Website
run-name: ${{ gitea.actor }} is deploying the website...
on:
release:
types: [published]
jobs:
Deploy-Website:
steps:
- name: Download release archive
run: wget "https://git.colormatic.org/ColormaticStudios/Colormatic-Website/releases/download/latest/release.tar.gz"
- name: Clear existing deployment
run: rm -r ${{ secrets.WEBPATH }}/* # Scary
- name: Extract release archive
run: tar -xf release.tar.gz -C ${{ secrets.WEBPATH }}/