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

Commit

Permalink
Fixed deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Apr 10, 2020
1 parent e7699d5 commit 841eee8
Show file tree
Hide file tree
Showing 5 changed files with 1,917 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
cp -r dist build/dist
cp index.html build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: peaceiris/actions-gh-pages@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<!-- Styles -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="./dist/datapackage-ui.css">
<link rel="stylesheet" href="./dist/mockup.css">

<!-- Consent manager -->
<script>var okiConsent = {analyticsTrackingID: 'UA-33874954-38'}</script>
Expand All @@ -24,7 +23,6 @@
<!-- Scripts -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- <script src="./dist/mockup.js"></script> -->
<script src="./dist/datapackage-ui.js"></script>
<script>
datapackageUI.render(datapackageUI.EditorPackage, {
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require('./styles/base.css')
require('./styles/mockup.css')
require('./mockup.js')
require('regenerator-runtime/runtime')
const { render } = require('./render')
const { EditorSchema } = require('./components/EditorSchema')
Expand Down
Empty file added src/mockup.js
Empty file.
Loading

0 comments on commit 841eee8

Please sign in to comment.