whoops use the actual environment #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy (TESTING) | |
# All commented-out lines will need to be un-commented before merging. These are currently commented | |
# out for debugging and testing during the actual PR, which, obviously, involves changes to this | |
# workflow itself. | |
on: | |
# push: | |
# branches: | |
# - main | |
push: | |
branches: ['**'] | |
pull_request: | |
branches: ['**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Create and activate conda environment | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: website-redesign | |
environment-file: environment.yml | |
- name: Build Website | |
run: python build.py | |
# - name: Deploy to GitHub Pages | |
# uses: peaceiris/actions-gh-pages@v3 | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# publish_dir: . |