diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml new file mode 100644 index 0000000..a6ea447 --- /dev/null +++ b/.gitea/workflows/publish.yml @@ -0,0 +1,23 @@ +name: publish +run-name: Publishing the website with a surfer +on: + push: + branches: + - main + +jobs: + Build-and-publish: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install cloudron surfer from NPM + run: npm -g install cloudron-surfer + + - name: Publish + run: | + surfer put --token ${{ secrets.SURFER_TOKEN }} --server cheems.nostrdev.com public/* / diff --git a/assets/bootstrap/css/bootstrap.min.css b/public/assets/bootstrap/css/bootstrap.min.css similarity index 100% rename from assets/bootstrap/css/bootstrap.min.css rename to public/assets/bootstrap/css/bootstrap.min.css diff --git a/assets/bootstrap/js/bootstrap.min.js b/public/assets/bootstrap/js/bootstrap.min.js similarity index 100% rename from assets/bootstrap/js/bootstrap.min.js rename to public/assets/bootstrap/js/bootstrap.min.js diff --git a/assets/css/filters.css b/public/assets/css/filters.css similarity index 100% rename from assets/css/filters.css rename to public/assets/css/filters.css diff --git a/assets/css/footer.css b/public/assets/css/footer.css similarity index 100% rename from assets/css/footer.css rename to public/assets/css/footer.css diff --git a/assets/css/listings.css b/public/assets/css/listings.css similarity index 100% rename from assets/css/listings.css rename to public/assets/css/listings.css diff --git a/assets/css/nav.css b/public/assets/css/nav.css similarity index 100% rename from assets/css/nav.css rename to public/assets/css/nav.css diff --git a/assets/css/pagination.css b/public/assets/css/pagination.css similarity index 100% rename from assets/css/pagination.css rename to public/assets/css/pagination.css diff --git a/assets/css/productCard.css b/public/assets/css/productCard.css similarity index 100% rename from assets/css/productCard.css rename to public/assets/css/productCard.css diff --git a/assets/css/store.css b/public/assets/css/store.css similarity index 100% rename from assets/css/store.css rename to public/assets/css/store.css diff --git a/assets/css/storeCard.css b/public/assets/css/storeCard.css similarity index 100% rename from assets/css/storeCard.css rename to public/assets/css/storeCard.css diff --git a/assets/css/styles.css b/public/assets/css/styles.css similarity index 100% rename from assets/css/styles.css rename to public/assets/css/styles.css diff --git a/assets/img/why-didnt-booker-immedietly-cover-up-his-ad-tattoo-when-he-v0-yd4j8grc9tcc1.webp b/public/assets/img/why-didnt-booker-immedietly-cover-up-his-ad-tattoo-when-he-v0-yd4j8grc9tcc1.webp similarity index 100% rename from assets/img/why-didnt-booker-immedietly-cover-up-his-ad-tattoo-when-he-v0-yd4j8grc9tcc1.webp rename to public/assets/img/why-didnt-booker-immedietly-cover-up-his-ad-tattoo-when-he-v0-yd4j8grc9tcc1.webp diff --git a/assets/js/bs-init.js b/public/assets/js/bs-init.js similarity index 100% rename from assets/js/bs-init.js rename to public/assets/js/bs-init.js diff --git a/assets/js/categoryDrop.js b/public/assets/js/categoryDrop.js similarity index 100% rename from assets/js/categoryDrop.js rename to public/assets/js/categoryDrop.js diff --git a/assets/js/checkboxBetter.js b/public/assets/js/checkboxBetter.js similarity index 100% rename from assets/js/checkboxBetter.js rename to public/assets/js/checkboxBetter.js diff --git a/assets/js/expandList.js b/public/assets/js/expandList.js similarity index 100% rename from assets/js/expandList.js rename to public/assets/js/expandList.js diff --git a/assets/js/toggleCategories.js b/public/assets/js/toggleCategories.js similarity index 100% rename from assets/js/toggleCategories.js rename to public/assets/js/toggleCategories.js diff --git a/index.html b/public/index.html similarity index 98% rename from index.html rename to public/index.html index b7766aa..a1cdf91 100644 --- a/index.html +++ b/public/index.html @@ -27,13 +27,13 @@