Skip to content

Commit

Permalink
PDF ACTION (#1)
Browse files Browse the repository at this point in the history
Creat PDF Action
  • Loading branch information
rokk4 authored Aug 4, 2021
1 parent c29e203 commit 03239d1
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Setup Scribus with xvfb
run: sudo apt-get install scribus xvfb

# Download scribubs to-pdf.py
- name: Download Scribus Export Script
run: wget https://raw.githubusercontent.com/aoloe/scribus-script-repository/master/to-pdf/to-pdf.py

# Run export script
- name: Setup Scribus
run: xvfb-run scribus -g -ns -py to-pdf.py mitgliedsantrag.sla -- mitgliedsantrag.sla

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: mitgliedsantrag.pdf
path: mitgliedsantrag.pdf

- name: Release
uses: softprops/action-gh-release@v1





0 comments on commit 03239d1

Please sign in to comment.