Add logo #28
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: Deploy staging to surge.sh | |
on: | |
push: | |
branches: | |
- develop | |
env: | |
SURGE_DOMAIN: https://sotm-latam-2024.surge.sh | |
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Build Jekyll site | |
run: bundle exec jekyll build --config _config.yml,_config-staging.yml | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- name: Install surge | |
run: npm install --global surge | |
- name: Deploy to Surge | |
run: surge _site ${{ env.SURGE_DOMAIN }} |