Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krzemienski authored Jan 24, 2024
1 parent 233e215 commit e5396ae
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
- master
env:
GH_TOKEN: xxxxd4ef
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
CUSTOM_DOMAIN: awesome.video
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: requirements.txt
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
jobs:
awesomebot:
runs-on: ubuntu-latest
Expand All @@ -27,22 +33,11 @@ jobs:
- name: run json validate
run: json validate --schema-file=.github/schema.json --document-file=contents.json
gen-awesome-video:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
image: krzemienski/ruby-node-python:latest
needs:
- awesomebot
- json-validate
env:
DOCKER_PASSWORD:
DOCKER_USERNAME:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
CUSTOM_DOMAIN: awesome.video
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: requirements.txt
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
- awesomebot
- json-validate
steps:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -55,7 +50,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.9
steps:
- uses: actions/checkout@v4
- name: run README.md gen
run: ruby .github/convert.rb
Expand All @@ -66,4 +60,4 @@ jobs:
- name: run static site gen
run: make site_build
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
uses: mhausenblas/mkdocs-deploy-gh-pages@master

0 comments on commit e5396ae

Please sign in to comment.