Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

convert-blogpost-to-xml #1592

convert-blogpost-to-xml

convert-blogpost-to-xml #1592

#Run jekyll2cms in a Docker container to convert the new blogpost into XML
name: convert-blogpost-to-xml
on:
push:
branches:
- master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 1 * * *'
jobs:
pull-and-run-jekyll2cms-docker-image:
if: github.repository == 'adessoSE/devblog'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Pull Docker image
run: docker pull jekyll2cms/jekyll2cms:2.2.0
- name: Run Docker image
run: docker run --env REPOSITORY_REMOTE_URL='${{ secrets.REPOSITORY_REMOTE_URL }}' --env REPOSITORY_LOCAL_USER_NAME='${{ secrets.REPOSITORY_LOCAL_USER_NAME }}' --env REPOSITORY_LOCAL_USER_MAIL='${{ secrets.REPOSITORY_LOCAL_USER_MAIL }}' --env REPOSITORY_LOCAL_USER_TOKEN='${{ secrets.REPOSITORY_LOCAL_USER_TOKEN }}' jekyll2cms/jekyll2cms:2.2.0