create new workflow
This commit is contained in:
@@ -8,20 +8,12 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ubuntu:latest
|
||||||
|
options: "-v /home/admin/data/web:/web"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Debug
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
ls -la
|
|
||||||
ls -la $(pwd)
|
|
||||||
|
|
||||||
- name: Debug1
|
|
||||||
run: |
|
|
||||||
ls /web || echo "no /web"
|
|
||||||
cat /etc/hostname
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/gohugoio/hugo/releases/download/v0.147.1/hugo_0.147.1_linux-amd64.tar.gz
|
wget https://github.com/gohugoio/hugo/releases/download/v0.147.1/hugo_0.147.1_linux-amd64.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user