From 41c50aa25afb1d23cfbd6ec983c95e10b80acdbe Mon Sep 17 00:00:00 2001 From: Chaz Date: Tue, 6 Feb 2024 15:43:38 -0700 Subject: [PATCH] adding workflows --- .github/workflows/main.yml | 74 ++++++++++++++++++++++++++++++++++++++ _site/sitemap.xml | 28 +++++++-------- 2 files changed, 88 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..064a04b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,74 @@ +on: + push: + branches: main + +name: Render and Publish + +# you need these permissions to publish to GitHub pages +# permissions: +# contents: write +# pages: write + +jobs: + build-deploy: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Quarto + uses: quarto-dev/quarto-actions/setup@v2 + with: + # To install LaTeX to build PDF book + tinytex: true + # uncomment below and fill to pin a version + # version: SPECIFIC-QUARTO-VERSION-HERE + + # add software dependencies here and any libraries + + # From https://github.com/actions/setup-python + #- name: Setup Python and Install Dependencies + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + #cache: 'pip' + #- run: pip install -r requirements.txt + - run: pip install jupyter numpy pandas scikit-learn plotly.express + #- run: pip install jupyter numpy pandas scikit-learn tabulate altair altair_viewer nbformat nbclient plotly.express + #- run: python my_script.py + + # From https://github.com/r-lib/actions/tree/v2-branch/setup-r + # - name: Setup R + # uses: r-lib/actions/setup-r@v2 + + # From https://github.com/julia-actions/setup-julia + # - name: Setup Julia + # uses: julia-actions/setup-julia@v1 + + # See more at https://github.com/quarto-dev/quarto-actions/blob/main/examples/example-03-dependencies.md + + # To publish to Netlify, RStudio Connect, or GitHub Pages, uncomment + # the appropriate block below + + # - name: Publish to Netlify (and render) + # uses: quarto-dev/quarto-actions/publish@v2 + # with: + # target: netlify + # NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + + # - name: Publish to RStudio Connect (and render) + # uses: quarto-dev/quarto-actions/publish@v2 + # with: + # target: connect + # CONNECT_SERVER: enter-the-server-url-here + # CONNECT_API_KEY: ${{ secrets.CONNECT_API_KEY }} + + # NOTE: If Publishing to GitHub Pages, set the permissions correctly (see top of this yaml) + - name: Publish to GitHub Pages (and render) + uses: quarto-dev/quarto-actions/publish@v2 + with: + target: gh-pages + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions + diff --git a/_site/sitemap.xml b/_site/sitemap.xml index f0104c2..9866070 100644 --- a/_site/sitemap.xml +++ b/_site/sitemap.xml @@ -2,58 +2,58 @@ https://byui-cse.github.io/byuids-portfolio/competition.html - 2024-01-26T15:45:12.168Z + 2024-02-06T22:40:59.271Z https://byui-cse.github.io/byuids-portfolio/story_telling.html - 2024-01-26T15:45:11.625Z + 2024-02-06T22:40:58.720Z https://byui-cse.github.io/byuids-portfolio/index.html - 2024-01-26T15:45:11.084Z + 2024-02-06T22:40:58.149Z https://byui-cse.github.io/byuids-portfolio/Projects/project3.html - 2024-01-26T15:45:07.747Z + 2024-02-06T22:40:55.827Z https://byui-cse.github.io/byuids-portfolio/Projects/project1.html - 2024-01-26T15:44:47.619Z + 2024-02-06T22:40:35.988Z https://byui-cse.github.io/byuids-portfolio/Projects/project4.html - 2024-01-26T15:44:25.855Z + 2024-02-06T22:40:15.442Z https://byui-cse.github.io/byuids-portfolio/resume.html - 2024-01-26T15:43:24.369Z + 2024-02-06T22:39:38.043Z https://byui-cse.github.io/byuids-portfolio/exploration.html - 2024-01-26T15:43:24.064Z + 2024-02-06T22:39:37.722Z https://byui-cse.github.io/byuids-portfolio/cleansing.html - 2024-01-26T15:43:24.648Z + 2024-02-06T22:39:38.354Z https://byui-cse.github.io/byuids-portfolio/Projects/project5.html - 2024-01-26T15:44:37.686Z + 2024-02-06T22:40:25.825Z https://byui-cse.github.io/byuids-portfolio/Projects/project2.html - 2024-01-26T15:44:57.859Z + 2024-02-06T22:40:45.871Z https://byui-cse.github.io/byuids-portfolio/projects.html - 2024-01-26T15:45:10.814Z + 2024-02-06T22:40:57.857Z https://byui-cse.github.io/byuids-portfolio/ml.html - 2024-01-26T15:45:11.353Z + 2024-02-06T22:40:58.428Z https://byui-cse.github.io/byuids-portfolio/full_stack.html - 2024-01-26T15:45:11.892Z + 2024-02-06T22:40:58.988Z