Skip to content

update gitignore

update gitignore #17

Workflow file for this run

on: push
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'build'
uses: littleji/zola-deploy-action@master
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BUILD_ONLY: true
build_and_deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'build and deploy'
uses: littleji/zola-deploy-action@master
env:
PAGES_BRANCH: master
BUILD_DIR: .
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: littleji/littleji.github.io