mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 18:40:16 +01:00
Update jekyll action to push the formatted site (#20)
This is a mix of fixes to the action itself and the jekyll files to make everything work.
This commit is contained in:
@@ -16,9 +16,18 @@ jobs:
|
||||
service_account_email: ${{ secrets.GCP_SA_EMAIL }}
|
||||
service_account_key: ${{ secrets.GCP_SA_KEY }}
|
||||
export_default_credentials: true
|
||||
- uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.6
|
||||
- run: gcloud info
|
||||
- run: echo Add a setup step here
|
||||
- run: echo add a build step here
|
||||
- name: Install bundler
|
||||
run: gem install bundler
|
||||
working-directory: src/jekyll
|
||||
- name: Install jekyll and dependencies
|
||||
run: bundle install --jobs 4 --retry 3
|
||||
working-directory: src/jekyll
|
||||
- name: Build HTML pages
|
||||
run: make site
|
||||
working-directory: src/jekyll
|
||||
- name: Publish to www.carbon-lang.dev
|
||||
run: |
|
||||
gsutil cp -R docs/* gs://www.carbon-lang.dev/test-doc-root/
|
||||
run: gsutil cp -R src/jekyll/.gen-site/* gs://www.carbon-lang.dev/
|
||||
|
||||
Reference in New Issue
Block a user