meridian-bot/.gitea/workflows/config.yaml
Yannis Perrot 8ed6e84bb7
Some checks failed
Gitea Discord Bot CI / Explore-Gitea-Actions (push) Failing after 9s
fixed workflow gitea yml file v3
2024-02-22 18:18:51 +01:00

25 lines
839 B
YAML

name: Gitea Discord Bot CI
run-name: ${{ github.actor }} has updated
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
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: systemctl stop discord-bot
- run: systemctl start discord-bot
# - name: Build TinaCMSx
# 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