meridian-bot/.gitea/workflows/config.yaml
2024-02-22 17:44:31 +01:00

25 lines
844 B
YAML

name: Gitea Discord Bot CI
run-name: ${{ github.actor }} has updated
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: linux_arm
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: cp -r ./* /home/meridian/meridian-bot/
- run: node /home/meridian/meridian-bot/deploy-commands.js
- run: sudo systemctl stop discord-bot
- run: sudo systemctl start discord-bot
# - name: Build TinaCMS
# env:
# TINA_PUBLIC_CLIENT_ID: ${{ secrets.TINA_PUBLIC_CLIENT_ID }}
# TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
# run: npx tinacms build
#- name: Hugo setup
# uses: peaceiris/actions-hugo@v2
# with:
# hugo-version: '0.119.0'
# extended: true
#- run: hugo --minify
#- run: touch /var/www/my_webapp/test.md