Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoin95 committed Aug 29, 2020
1 parent dc6fbd6 commit dac7ecb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/upload-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: Install puppeteer with chromium
run: sudo npm i puppeteer --unsafe-perm=true --allow-root
- name: Upload Episode from YouTube To Anchor.Fm
uses: Schrodinger-Hat/[email protected].0
uses: Schrodinger-Hat/[email protected].1
env:
ANCHOR_EMAIL: ${{ secrets.ANCHOR_EMAIL }}
ANCHOR_PASSWORD: ${{ secrets.ANCHOR_PASSWORD }}
2 changes: 1 addition & 1 deletion episode.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"LDe1GuD_V7w","title":"FOSS Explorer 5 - L'open source italiano alla riscossa","description":"Quinto episodio della serie FOSS Explorer dedicata al mondo open source italiano.\r\nIn questa puntata mostreremo la top5 trending repository italiane delle scorse due settimane!\r\n\r\nhttps://github.com/notable/notable\r\nhttps://github.com/plorefice/gib\r\nhttps://github.com/alesmit/carburanti-ita-bot\r\nhttps://github.com/NoriSte/ui-testing-best-practices\nhttps://github.com/delvedor/find-my-way\r\n\r\nIndice\n00:00 Intro\n00:34 Notable - Applicazione appunti\n04:57 Gib - gameboy emulator\n08:10 Carburanti ita bot - un altro bot di telegram\n10:34 UI testing best practices - testare interfacce grafiche\n12:48 Cypress-io\n14:52 Find-my-way - Fast HTTP router\n17:42 Tomas della vedova\n19:34 Divagare sui linguaggi - anteprima della live di venerdì\n25:47 Fastify\n27:02 Outro\n\nSeguiteci su:\r\nlinkedln: https://www.linkedin.com/company/schrodinger-hat\r\nFacebook: https://www.facebook.com/schrodingerhat\r\nInstagram: https://www.instagram.com/schrodinger_hat/\r\nTwitter: https://twitter.com/schrodinger_hat\r\n\r\nLive ogni venerdì su:\r\n\r\ntwitch: https://www.twitch.tv/schrodinger_hat\r\nYoutube: https://www.youtube.com/channel/UC1QLLgrGrPmlaFhS0orykCA"}
{"id":"LDe1GuD_V7w"}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const pathToEpisodeJSON = 'episode.json';
const outputFile = 'episode.webm';

console.log('installing dependecies');
exec('sudo curl -k -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl && sudo npm install puppeteer --unsafe-perm=true --allow-root', (error, stdout, stderr) => {
exec('sudo curl -k -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl', (error, stdout, stderr) => {
if (error) {
console.log(`error: ${error.message}`);
}
Expand Down

0 comments on commit dac7ecb

Please sign in to comment.