Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdarshRawat1 committed May 11, 2024
1 parent 2b4efed commit 28e9f70
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build doxygen and deploy to GitHub Pages
on:
push:
branches:
- Deploy-branch-Awsome-CSS

jobs:
build-and-deploy:
runs-on: ubuntu-latest
concurrency: ci-${{github. ref}}
steps:
- name : Checkout
uses: actions/checkout@v2
with:
submodules: "true"

- name: Install Doxygen
run: sudo apt-get install doxygen graphviz -y
shell: bash

- name: Generate Doxygen Documentation
run: doxygen Doxyfile
shell: bash

- name: Create .nojekyll
run: touch docs/html/.nojekyll
shell: bash

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build

0 comments on commit 28e9f70

Please sign in to comment.