Skip to content

Remove a link

Remove a link #27

name: Deploy (Website)
on:
push:
branches:
- main
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Uses This
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Build the site
run: |
bundle exec dimples
cp site/interviews/index.html site/index.html
cp staticwebapp.config.json site/
- name: Deploy to Azure
id: deploy
uses: azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLUE_STONE_0F6DBE710 }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "site"
api_location: ""
output_location: ""
skip_app_build: true