actions new repo
This commit is contained in:
parent
d246c52177
commit
1a6f0ea948
19
.github/workflows/action.yml
vendored
19
.github/workflows/action.yml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: Zola on GitHub Pages
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- development
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Publish site
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout development
|
|
||||||
uses: actions/checkout@v3.0.0
|
|
||||||
- name: Build and deploy
|
|
||||||
uses: shalzz/zola-deploy-action@v0.16.0
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
4
.github/workflows/tf_update_dev.yml
vendored
4
.github/workflows/tf_update_dev.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd websites/www2/www_ourworld_tf/
|
cd websites/www2/www_ourworld_tf/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git fetch
|
||||||
git pull
|
git reset --hard origin/development
|
||||||
sed -i "s/https:\/\/www.ourworld.tf/https:\/\/www2.ourworld.tf/g" config.toml
|
sed -i "s/https:\/\/www.ourworld.tf/https:\/\/www2.ourworld.tf/g" config.toml
|
||||||
./build.sh
|
./build.sh
|
||||||
|
4
.github/workflows/tf_update_prod.yml
vendored
4
.github/workflows/tf_update_prod.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd websites/www_ourworld_tf/
|
cd websites/www_ourworld_tf/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git fetch
|
||||||
git pull
|
git reset --hard origin/development
|
||||||
sed -i "s/https:\/\/www2.ourworld.tf/https:\/\/ourworld.tf/g" config.toml
|
sed -i "s/https:\/\/www2.ourworld.tf/https:\/\/ourworld.tf/g" config.toml
|
||||||
./build.sh
|
./build.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user