Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI, "combine the following with that file in the right way!" and Gitbuilding #44

Open
jcolomb opened this issue Aug 5, 2024 · 2 comments

Comments

@jcolomb
Copy link

jcolomb commented Aug 5, 2024

hello,

I have a repo using gitbuilding CI, it would be good to have an explanation on how to combine the two CI elements, I think I could understand what the "right way" is from an example (?).

Note:
gitbuilding.yml:

name: Deploy Gitbuilding Project to Github Pages

on: [push]

jobs:
  build_and_deploy:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - name: Install Python 3
        uses: actions/setup-python@v1
        with:
          python-version: "3.7"
      - name: Build
        run: |
          pip install gitbuilding
          gitbuilding build-html
      - name: Deploy
        uses: JamesIves/[email protected]
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          BRANCH: gh-pages
          FOLDER: _site/
          # Automatically remove deleted files from the deploy branch
          CLEAN: true

@jcolomb
Copy link
Author

jcolomb commented Aug 5, 2024

Note: should the names of steps be more descriptive for the osh tool deploy ?

@jcolomb
Copy link
Author

jcolomb commented Aug 5, 2024

@MoritzMaxeiner can you help with this (create a gitbuilding_osh.yml) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant