Compare commits

..

No commits in common. "8b385ea511709a87cbc30790d42d19bac9b7b411" and "77fac3eb51e29ac9391cb08a60a57e164c367515" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

@ -8,7 +8,6 @@ on:
env: env:
DHUB_UNAME: ${{ secrets.DHUB_UNAME }} DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
DHUB_PWORD: ${{ secrets.DHUB_PWORD }} DHUB_PWORD: ${{ secrets.DHUB_PWORD }}
branch: ${{ github.head_ref }}
jobs: jobs:
build: build:
@ -16,7 +15,7 @@ jobs:
steps: steps:
- name: Pull latest from Git - name: Pull latest from Git
run: | run: |
echo "$branch" echo "${{ gitea.ref_name }}"
pwd pwd
whoami whoami
mkdir -p /var/lib/act_runner/ mkdir -p /var/lib/act_runner/
@ -28,7 +27,7 @@ jobs:
cd tenorjs-v2 cd tenorjs-v2
git pull git pull
fi fi
git checkout "$branch" git checkout ${{ gitea.ref_name }}
- name: Run tests - name: Run tests
run: | run: |
cd /var/lib/act_runner/tenorjs-v2 cd /var/lib/act_runner/tenorjs-v2

View File

@ -1,6 +1,6 @@
{ {
"name": "tenorjs-v2", "name": "tenorjs-v2",
"version": "1.0.7", "version": "1.0.6",
"description": "A crappy wrapper for Tenor.com API", "description": "A crappy wrapper for Tenor.com API",
"main": "./src/index.js", "main": "./src/index.js",
"scripts": { "scripts": {

View File

@ -105,7 +105,6 @@ class Gif {
this.id = gif.id; this.id = gif.id;
this.created = gif.created; this.created = gif.created;
this.mediaUrl = gif.media_formats.gif.url; this.mediaUrl = gif.media_formats.gif.url;
this.originalResponse = gif;
return this; return this;
} }
} }