next try
Some checks failed
Deploy Jekyll site to Pages / build (push) Failing after 23s

This commit is contained in:
Florian Weber 2024-11-13 15:04:45 +01:00
parent 1744112372
commit bd02f1fcaa
Signed by: f.weber
GPG Key ID: B162B599E31221C6

View File

@ -34,29 +34,27 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Ruby - name: checkout pages
uses: ruby/setup-ruby@v1 uses: actions/checkout@v4
with: with:
ruby-version: '3.3.5' # Not needed with a .ruby-version file ref: 'pages'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically path: 'pages'
cache-version: 0 # Increment this number if you need to re-download cached gems # - name: Setup Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: '3.3.5' # Not needed with a .ruby-version file
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Build with Jekyll - name: Build with Jekyll
# Outputs to the './_site' directory by default # Outputs to the './_site' directory by default
run: bundle exec jekyll build run: bundle exec jekyll build --destination pages
env: env:
JEKYLL_ENV: production JEKYLL_ENV: production
- name: Upload artifact - name: push pages
# Automatically uploads an artifact from the './_site' directory by default run: |
uses: actions/upload-pages-artifact@v3 cd pages && \
git config user.name "${{ gitea.actor }}" && \
# Deployment job git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online" && \
deploy: git add . && \
environment: git commit -m "jekyll build from Action ${GITHUB_SHA}" && \
name: github-pages git push
url: "https://pages-test.morlana.net"
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4