Add 2024 seed grant announcement #186
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: 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/ |