Compare commits
No commits in common. "a7b4eaa6a61e5da52bc04977fddff7a756a06406" and "9a1d53f7d77dc8de15bce5dd70776bcd73e885be" have entirely different histories.
a7b4eaa6a6
...
9a1d53f7d7
|
@ -1,24 +0,0 @@
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '18'
|
|
||||||
cache: 'npm'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm ci
|
|
||||||
- name: Build site
|
|
||||||
run: npm run build
|
|
||||||
- name: Deploy to web server
|
|
||||||
run: |
|
|
||||||
sudo rm -rf /var/www/otomata/*
|
|
||||||
sudo cp -r _site/* /var/www/otomata/
|
|
||||||
sudo chown -R www-data:www-data /var/www/otomata
|
|
||||||
sudo chmod -R 755 /var/www/otomata
|
|
6
.forgejo/workflows/test.yaml
Normal file
6
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- run: echo it werkz!
|
Loading…
Reference in a new issue