name: Build Jekyll weblog on: push: branches: [ master ] env: REPO_DIR: ${{ gitea.repository }} jobs: build: runs-on: [ubuntu] steps: - run: echo "Job triggered by a ${{ gitea.event_name }} event." - name: Checkout 📥 uses: actions/checkout@v3 with: ref: master lfs: false token: ${{ gitea.token }} fetch: 1 - run: echo "Trying to build commit ${{ gitea.ref }} from repository." - name: Build ⚙️ run: bundle exec --no-color jekyll build -d $OUT_DIR env: OUT_DIR: ${{ secrets.PUB_DIR }}