-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Dockerfile to process xlsx files
- Loading branch information
1 parent
dd39721
commit ef26130
Showing
5 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: test workflow | ||
|
||
on: | ||
repository_dispatch: | ||
events: | ||
[ release_event ] | ||
|
||
jobs: | ||
package: | ||
runs-on: ubuntu-latest | ||
name: Create artifacts | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Checkout submodules | ||
uses: textbook/git-checkout-submodule-action@master | ||
- name: Create MD | ||
id: build-it-now | ||
uses: ./ | ||
- name: Create Archive | ||
id: create-archive | ||
run: | | ||
zip -r Bridge Bridge | ||
- name: Create Release | ||
id: create-release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.event.client_payload.tag }} | ||
release_name: Release ${{ github.event.client_payload.tag }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create-release.outputs.upload_url }} | ||
asset_path: ./Bridge.zip | ||
asset_name: Bridge.zip | ||
asset_content_type: application/zip | ||
- uses: juztcode/repo-ditpatch-action@v1 | ||
with: | ||
event-type: release_event | ||
token: ${{ secrets.REPO_TRIGGER_KEY }} | ||
repository: smart-grid-use-cases/github-pages | ||
client-payload: '{"tag": "${{ github.event.client_payload.tag }}" }' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "excel2xml-input"] | ||
path = excel2xml-input | ||
url = ../excel2xml-input |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from alpine:latest | ||
|
||
run apk update | ||
run apk add python3 py3-pip | ||
run /usr/bin/pip3 install pyxb openpyxl | ||
copy . /excel2xml | ||
copy excel2xml-input/grupoetra/*.xlsx /excel2xml/ | ||
workdir /excel2xml | ||
cmd ls /excel2xml && python3 /excel2xml/xlsx2xml.py |
Submodule excel2xml-input
added at
589b00
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