Merge pull request 'gitea-workflow' (#1) from gitea-workflow into main
Reviewed-on: #1
This commit is contained in:
commit
5e4e4bf4b8
21
.gitea/workflows/deploy.yml
Normal file
21
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,21 @@
|
||||
name: work.suroh.tk deploy
|
||||
run-name: ${{ github.action_repository }} is being built and deployed
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone code to runner
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Move to directory
|
||||
run: cd ${{ github.workspace }}
|
||||
|
||||
- name: Building dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check deployment directory
|
||||
run: ls -lh /var/www/
|
@ -1,3 +1,3 @@
|
||||
# work.suroh.tk
|
||||
|
||||
Repository of my homepage. Built on 11ty using webc.
|
||||
Repository of my homepage.
|
||||
|
Loading…
x
Reference in New Issue
Block a user