powerlevel10k/.github/workflows/deploy-docs.yml
Workflow config file is invalid. Please check your config file: Line: 5 Column 5: Failed to match job-factory: Line: 25 Column 7: Failed to match run-step: Line: 26 Column 7: Unknown Property with Line: 25 Column 7: Failed to match regular-step: Line: 28 Column 7: Unknown Property run Line: 5 Column 5: Failed to match workflow-job: Line: 6 Column 5: Unknown Property env Line: 9 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
2020-12-02 10:08:39 +01:00

33 lines
No EOL
954 B
YAML

name: Powerlevel10k Documentation on Push
on: push
jobs:
deploy:
runs-on: ubuntu-latest
env:
ruby-version: 2.6
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automaticall
- uses: actions/cache@v2
with:
path: vendor/bundle
key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
gems-${{ runner.os }}-${{ matrix.ruby-version }}-
gems-${{ runner.os }}-
- run: bundle config set deployment 'true'
- name: bundle install
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
run: |
cd docs
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
chmod +x deploy.sh
./deploy.sh