Bump RedCloth from 4.3.2 to 4.3.3 (#1003) #106
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 | |
on: | |
push: | |
branches: | |
- main | |
- production | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@d3c9825d67b0d8720afdfdde5af56c79fdb38d16 #v1 | |
with: | |
ruby-version: 2.4.1 | |
bundler-cache: true | |
- name: Set up SSH | |
run: | | |
mkdir ~/.ssh 2>/dev/null | |
echo "$SSH_KEY" >>~/.ssh/id_rsa | |
chmod 600 ~/.ssh/id_rsa | |
echo -e "Host filemgmt-prod-sync.jboss.org\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config | |
env: | |
SSH_KEY: ${{ secrets.DOWNLOAD_KEY }} | |
GITHUB_REF: ${{ github.ref }} | |
- name: Generate site | |
run: | | |
branch_name=`basename $GITHUB_REF` | |
export GIT_TAG=build-$branch_name-$(date -u "+%Y-%m-%d-%H-%M-%S")-$GITHUB_RUN_ID | |
bundle exec rake actions |