Skip to content

add press release for 2024 fellows #181

add press release for 2024 fellows

add press release for 2024 fellows #181

Workflow file for this run

name: stage deploy
on:
push:
branches:
- staging
paths-ignore:
- 'docs/**'
- 'lib/**'
- 'README.md'
- '.github/workflows/test*.yml'
jobs:
stage-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup ruby
uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
- name: install gems
run: bundle install
- name: build site
run: bundle exec jekyll build --config _config.yml,_staging.yml
- name: block indexing
run: 'mkdir -p _site && echo -e "User-agent: *\nDisallow: /\n" > _site/robots.txt'
- name: ftp deploy to host
uses: SamKirkland/[email protected]
with:
server: ${{secrets.FTP_STAGE_SERVER}}
username: ${{secrets.FTP_STAGE_USER}}
password: ${{secrets.FTP_STAGE_PW}}
protocol: ftps
state-name: ./.ftp-deploy-sync-state.json
local-dir: ./_site/