cd wip commenting it out for now
This commit is contained in:
60
.github/workflows/cd.yaml
vendored
60
.github/workflows/cd.yaml
vendored
@@ -1,30 +1,30 @@
|
||||
name: cd
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
cd:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
BRANCH: gh-pages
|
||||
|
||||
steps:
|
||||
- name: Checkout 🛎
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Build thesis ⚙️
|
||||
uses: xu-cheng/latex-action@v2
|
||||
with:
|
||||
root_file: thesis.tex
|
||||
args: -pdf -file-line-error -halt-on-error -interaction=nonstopmode --output-directory=./dist -f
|
||||
|
||||
- name: Deploy application 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ github.TOKEN }}
|
||||
BRANCH: ${{ env.BRANCH }}
|
||||
FOLDER: dist
|
||||
#name: cd
|
||||
#
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
#
|
||||
#jobs:
|
||||
# cd:
|
||||
# runs-on: ubuntu-latest
|
||||
#
|
||||
# env:
|
||||
# BRANCH: gh-pages
|
||||
#
|
||||
# steps:
|
||||
# - name: Checkout 🛎
|
||||
# uses: actions/checkout@master
|
||||
#
|
||||
# - name: Build thesis ⚙️
|
||||
# uses: xu-cheng/latex-action@v2
|
||||
# with:
|
||||
# root_file: thesis.tex
|
||||
# args: -pdf -file-line-error -halt-on-error -interaction=nonstopmode --output-directory=./dist -f
|
||||
#
|
||||
# - name: Deploy application 🚀
|
||||
# uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
# with:
|
||||
# GITHUB_TOKEN: ${{ github.TOKEN }}
|
||||
# BRANCH: ${{ env.BRANCH }}
|
||||
# FOLDER: dist
|
||||
|
||||
Reference in New Issue
Block a user